package com.dev.mapper;


import com.dev.pojo.Emp;
import com.dev.pojo.QueryEmpDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 * @author : fujc-dev@qq.com
 * @slogan : talk is cheap, show me the code. salute the future!
  */
public interface EmpMapper {

    List<Emp> QueryEmp(QueryEmpDTO dto);


    List<Emp> QueryEmp2(String deptName);

    List<Emp> QueryEmp3(@Param("usernames") String[] deptName);

    Integer update(Emp emp);

    List<Emp> QueryEmp4(String username);

    Integer insert(Emp emp);

    Integer inserBatch(@Param("emps") List<Emp> emp);

}
